Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Help me with target numbers 1d20>10

1477106221

Edited 1477106682
Hi, so here's what I'm trying to do: /roll [[1d20 + ?{Number of Boons|0}d6k1 - ?{Number of Banes|0}d6k1 + ?{Modifier|0} > @{target|bar3}]] Basically, I have the command set up and working with the inline roll. It asks for a target, then asks for how many boons, then banes, then if you have a modifier, and then rolls the d20 and adds what you entered as applicable. It works, it works well, I like it. However, I'm trying to get it to display a "success" for when it meets or exceeds a token's defense. That's my problem. When I try it like above, it simply displays this output: Rolling [X] [X] =[X] This technically works, but it doesn't say if it's a success or not, which is what I want. I want it to simply display like this: Rolling [X] [X] = Success! I've tried formatting it several different ways, but nothing works. Can someone please tell me if there's a way that this is possible, or if I'm trying to do something that can't be done without going with a subscription? Or does the > success command just not work this way?
1477109289

Edited 1477109301
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Try [[[[1d20 + ?{Number of Boons|0}d6k1 - ?{Number of Banes|0}d6k1 + ?{Modifier|0}]]>@{target|bar3}]] or /roll [[1d20 + ?{Number of Boons|0}d6k1 - ?{Number of Banes|0}d6k1 + ?{Modifier|0}]]>@{target|bar3}
Scott C. said: [[]]>@{target|bar3} Target Number / Successes only works with Grouped Rolls . e.g. [[ {1d20 + [[?{Number of Boons|0}d6k1]] - [[?{Number of Banes|0}d6k1]] + ?{Modifier|0}}>@{target|bar3} ]] /r {1d20 + [[?{Number of Boons|0}d6k1]] - [[?{Number of Banes|0}d6k1]] + ?{Modifier|0}}>@{target|bar3}
Ah, that one worked! Thanks Silvyre! Thanks too, Scott, always worth a shot! This should make life a bit easier now :D